<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2024/12/2
  Time: 18:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>用户信息展示</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css">
    <style>
        /* 引入register.jsp中的大部分样式，并根据需要调整 */
        body {
            background: url('https://via.placeholder.com/1920x1080?text=动漫背景') no-repeat center center fixed;
            background-size: cover;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
            font-family: 'Arial', sans-serif;
        }
        .userinfo-container {
            background: rgba(255, 255, 255, 0.8);
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            width: 400px; /* 宽度调整为适合展示更多信息 */
            text-align: center;
        }
        .userinfo-container h2 {
            color: #333;
            margin-bottom: 20px;
        }
        .userinfo-container p {
            margin: 10px 0;
            font-size: 16px;
            color: #666;
        }
    </style>
</head>
<body>
<div class="userinfo-container">
    <h2>用户信息</h2>
    <p><strong>姓名:</strong> ${userinfo.name}</p>
    <p><strong>地址:</strong> ${userinfo.address}</p>
    <p><strong>电话:</strong> ${userinfo.phone}</p>
    <p><a href="login.jsp">返回登录页面</a></p>
</div>
</body>
</html>